home *** CD-ROM | disk | FTP | other *** search
- Windows Interface Protocol and Powerboard 2.0
- ---------------------------------------------
-
- CONCEPT
- -------
-
- The Windows Interface Protocol is a fast and efficient way to make use
- of the various functions available in Microsoft Windows, over a live
- connection (Internet or dial-up). In other words, WIP is a method of
- interfacing an online service with Windows (hence the name Windows
- Interface Protocol).
-
- The idea behind WIP is very simple: allow an online service to make use
- of the resources available on the user's Windows system. This includes
- full 24-bit graphics, true-type fonts, stereo sound, icons, buttons,
- etc. One of the more powerful features of WIP is that it can run
- client/server applications real-time. From the programmers' viewpoint,
- this is similar to Java (a language for the Web) in that applications
- made to interface with WIP can be seamlessly integrated into the online
- service.
-
- Because WIP is a client/server protocol, the server (host) and the
- client (the user's computer) are in a constant dialogue while connected
- to each other. Unlike the scanario when a user is calling from an
- ASCII, ANSI or RIPscrip based system, the client is not a dumb terminal.
- In a fashion similar to America Online's automatic graphics updating, a
- WIP client/server system will only send graphics, sound, or WIP
- applications if the client either does not have the data or it needs to
- be updated. With this increased efficiency, it actually becomes a
- viable option to send large graphics, sound and application files since
- they only need to be sent once.
-
- ACCESSING A POWERBOARD SYSTEM IN WIP MODE
- -----------------------------------------
-
- In order to access a Powerboard 2.0 system in WIP mode, the caller must
- be calling with a WIP compatible terminal program. As of this writing,
- the only WIP terminal program available is DC Term by Durand
- Communications. DC Term is a freeware program, which means that you can
- give it to your callers without paying any royalty fees. However, DC Term
- is still copyrighted, and the copyright specifies that you cannot charge
- anyone for the DC Term software.
-
- DC Term is available from the NuIQ Software Support BBS, as well as from
- our Web site and Ftp site (http://www.nuiq.com and ftp://ftp.nuiq.com,
- respectively).
-
-
- DESIGNING WIP SCREENS
- ---------------------
-
- Designing a WIP screen is rather simple. A program called the WIP Builder
- (available from NuIQ Software and from Durand Communications) allows you
- to actually draw your screens. Any Sysop who has been drawing ANSI screens
- for the past ten years will certainly be able to appreciate this move to
- an intuitive WYSIWYG graphical design utility. Creating a WIP screen is
- just a matter of drawing it! The Interface Builder has a toolbox from
- which several tool-types can be selected. Among these are text, text-box,
- button, and picture. If, for example, a Sysop wants to create a field in
- which data can be entered, he needs only to click on the text-box tool and
- draw the field on the screen. Graphical files such as .GIFs and .JPGs
- can be integrated just as easily. Just click on the picture tool and
- draw an outline for the graphic where you want it on the screen. The
- graphic will be dropped into the area you drew immediately.
-
-
- CHANGING ICONS ON DEFAULT MENUS
- -------------------------------
-
- Even without the DC Interface Builder (or WIP Builder) software from Durand
- Communications, you can still change the icons found on the WIP menus.
- Icons for these menus are located in the WIP\RESOURCE\ subdirectory (which
- branches off your main BBS directory). The file exit.ico, for instance, is
- the picture of a man walking through a door. This is used throughout the
- default WIP interface on Powerboard 2.0 to represent the way that the user
- can exit the current screen or function.
-
- When menus are built with the MenuCfg and Menu Developer (MDEV) software,
- the file wipmacro.dat is read. Wipmacro.dat is a text file but it is
- formatted in a special way so that MenuCfg and Menu Developer can get
- the information they need from it in a fast and accurate manner. Each
- line in the wipmacro.dat file is for a specific BBS function. The following
- line is the line from Wipmacro.dat for the Goodbye/Logoff function:
-
- CONTROL\MACROS\BYE.CTL|Goodbye/Logoff|Goodbye|Click on this option if you wish to disconnect from this BBS.|DRIVEIN.ICO|TOP
-
- In the above example, the first item on the line is the path and filename
- for the PCL script itself (see the PCL section of the Powerboard Manual
- for more information on the Powerboard Control Language).
-
- The second item is the text description of the macro that is used in the
- macros.dat file. Macros.dat is the list of PCL macros that is used by
- Menu Developer for building ANSI, ASCII and RIPscrip menus.
-
- The third item on the line is the text that should appear on the WIP
- menu for this option.
-
- The fourth item is the help text for the option that will appear if the
- user leaves their mouse pointer on the button for a while without clicking.
-
- The fifth option is the filename in the WIP\RESOURCE\ directory for the
- icon to be associated with this option.
-
- The sixth and last option is the type of command this is. Command types
- are: TOP (for the top of the menu where constant options are listed);
- MENUS (for options that should go under the Menus heading); MULTINODE;
- MISC; MESSAGES; SEARCH; and TRANSFERS.
-
-
- You'll notice that the options are seperated by pipe bars. The pipe bar
- is ascii character #124 and can be generated by turning on the num lock
- on your keyboard, then holding down the ALT key while typing 124 on the
- numeric keypad. Most keyboards also have the pipe bar key on top of the
- backslash. When this is the case, you can generate a pipe bar symbol by
- holding down the SHIFT key and pressing the backslash key on the keyboard.
-
-
- .GIF AND .JPG GRAPHICS USED IN DEFAULT SCREENS
- ----------------------------------------------
-
- The following screens, located in the WIP\RESOURCE\ directory, are used
- in WIP screens on your BBS by default:
-
- boathmv.jpg - Used on the "goodbye" screen. Picture of people on a boat
- departing for a foreign land.
-
- arcdet.gif - l'Arc de Triumph, a famous landmark in Paris that welcomes
- visitors to the city.
-
-
- .WAV STEREO SOUNDS USED BY DEFAULT
- ----------------------------------
-
- im.wav - Played when a user receives an "Instant Message" from someone
- on another node.
-
- goodbye.wav - Played when the user hangs up.
-
- wakeup!.wav - Played when the user is idle for a while.
-
- welcome.wav - Played when the user logs on the first time in a given day.
-
-
- ADDING WIP SOUNDS
- -----------------
-
- WIP sounds can be played in any procedure on the BBS when the system is
- in Enhanced WIP mode. Adding a WIP sound is a matter of inserting a
- couple of lines into an approprate control file (PCL program). For
- more information on the Powerboard Control Language, consult the
- PCL section of the Powerboard Manual.
-
- The following two lines are used in the macro BYE.CTL in order to play the
- goodbye.wav sound:
-
- setnv(file=goodbye.wav)
- loadsub(control\wipsound.ctl)
-
-
- ADDING WIP SCREENS
- ------------------
-
- Enhanced WIP screens can be displayed in a similar way to how WIP sounds
- can be played. It is a matter of adding a line or two in an appropriate
- control file. Again, if you are not familiar with PCL, consult that
- section in the Powerboard Manual. The following line is used to display
- the enhanced WIP screen goodbye.wip in the bye.ctl macro:
-
- loadsub(control\newdisp.ctl,setnv(file=goodbye))
-
- In actuality, there are two lines used to display the file. The line above,
- plus a line that sets an option for displaying the goodbye screen:
- setnv(NoInfo=1)
-
- This line sets the NoInfo variable to 1. When set to 1 (as opposed to
- zero), the NoInfo variable tells the WIP display routine not to wait for
- input from the user. If you'd like for the WIP display routine to display
- the ASCII equivalent of the WIP screen locally (just to the Sysop) while
- the WIP screen is being displayed to the user, add the following line
- before calling the newdisp.ctl program:
-
- setnv(asciiequiv=1)
-
-
- THINGS TO BE AWARE OF WHEN MODIFYING WIP SCREENS
- ------------------------------------------------
-
- When creating or modifying WIP screens with the DC Interface Builder,
- keep the following in mind:
-
- .wi0 files are WIP screens that Powerboard will read in and scan for
- percent codes (see Percent Codes section of the Powerboard Manual)
- before displaying.
-
- OKAY buttons should generally have an object name of 'Okay'. This is
- what the WIP display routine looks for.
-
- The following screens must have some specific object names. They are
- as follows.
-
- FILENAME REQUIRED OBJECT NAMES & DESCRIPTIONS
- -------- ------------------------------------
- changef.wip Exit - Button to exit screen
- Help - Button to obtain help
- listbox - Scrollable listbox where area
- names and numbers are displayed
-
- chg.wip Exit - Button to exit screen
- Help - Button to obtain help
- listbox - Scrollable listbox where area
- names and numbers are displayed
-
- bulltmpl.wi0 updated - text file box with UPDATED.%NODE%
- attached
- Okay - to exit screen
-
- chgtmpl.wi0 Bulletin - text file box with %NV%TEXT%
- attached
- Okay - to exit screen
-
- edittag.wip Exit - to exit screen
- E - to edit tag list
- listbox - scrollable list box
- A - to add files
-
- flist.wip listbox - scrollable list box
- status - Text field (non-editable)
- Tag - button
- Download Mode - button
- View - button
- Exit - to exit screen
-
- inbox.wip msgs - list box
- Exit - to exit screen
-
- inmsg.wip msgtxt - list box
- prev - button
- next - button
- help - button
- forward - button
- reply - button
- kill - button
- compose - button
- Exit - button
- compose - button
- Exit - to exit screen
- msgnt - text box (non-editable)
- msgnumber - text box (non-editable)
- varf - text box (non-editable)
- sentont - text box (non-editable)
- sentd - text box (non-editable)
- att - text box (non-editable)
- sentt - text box (non-editable)
- sentbt - text box (non-editable)
- addrt - text box (non-editable)
- regt - text box (non-editable)
- statt - text box (non-editable)
- sentb - text box (non-editable)
- addrto - text box (non-editable)
- regarding - text box (non-editable)
- status - text box (non-editable)
- attachinfo - text box (non-editable)
- attt - text box (non-editable)
- Download - button
- keep - button
-
- inmsg-s.wip Same object as 'inmsg.wip' plus:
- UserFile - button
-
- mscan.wip stop - Exit screen
- nosel1 - button
-
- multtmpl.wip listbox - list box
- Exit - exit screen
-
- newf.wip date - editable text box
- Okay - exit screen
-
- newstmpl.wi0 newsltr - text file box with newsltr.no
- attached
- done - exit screen
-
- newuser.wip nosel1 - button
- conametxt - text box (non-editable)
- titTxt - text box (non-editable)
- str1txt - text box (non-editable)
- str2txt - text box (non-editable)
- csttxt - text box (non-editable)
- cntxt - text box (non-editable)
- pstlctxt - text box (non-editable)
- aliastxt - text box (non-editable)
- pwtxt - text box (non-editable)
- hphtxt - text box (non-editable)
- wphtxt - text box (non-editable)
- DobTxt - text box (non-editable)
- comptxt - text box (non-editable)
- okbtn - exit screen
- company - text box (editable)
- title - text box (editable)
- street1 - text box (editable)
- street2 - text box (editable)
- cityst - text box (editable)
- country - text box (editable)
- zipcode - text box (editable)
- alias - text box (editable)
- password - text box (editable)
- homephone - text box (editable)
- workphone - text box (editable)
- dob - text box (editable)
- computer - text box (editable)
-
- newuser1.wi0 Proceed - exit screen
-
- readfile.wip filename - editable text box
- listbox - list box
- Exit - exit screen
-
- searchf.wip text - editable text box
- Okay - exit screen
-
- secinfo.wi0 name - text box (non-editable)
- timelim - text box (non-editable)
- graphm - text box (non-editable)
- newck - text box (non-editable)
- firstcl - text box (non-editable)
- lastcl - text box (non-editable)
- timeson - text box (non-editable)
- accessinf - text file box with
- DISPLAY\SEC/:SEC/.NO attached
- Okay - exit screen
-
- sendinst.wip node - editable text box
- /WHO - button
- message - editable text box
- Send - button
- Exit - exit screen
-
- stats.wip password - editable text box
- cityst - editable text box
- voice - editable text box
- company - editable text box
- street - editable text box
- mhsname - editable text box
- work - editable text box
- screenlen - editable text box
- attach - Button
- music - Button
- fullscr - Button
- avail - Button
- graphics - Button
- personal - Button
- newf - Button
- Okay - exit screen
- protocol - Button
-
- stats-a.wip Same as stats.wip but with:
- alias - editable text box
-
- tag.wip filename - editable text box
- Tag - button
- Exit - exit screen
-
- welcome.wip nameprompt - editable text box
- password - editable text box
- welcometext - unclickable Button
- logon - Button
-
- userfind.wip searchtext - editable text box
- begin - Button
- listbox - list box
- quit - Button
-